From: Richard M. Stallman Date: Sun, 20 May 2001 16:27:59 +0000 (+0000) Subject: (command-line-1): When >2 files visited, X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40204 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=640cf49699431d8481441ad1f2f84590abdce7a6;p=emacs.git (command-line-1): When >2 files visited, leave the last one visible, and make that the selected window. --- diff --git a/lisp/startup.el b/lisp/startup.el index 84266811be1..e99c0bacdbe 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1593,12 +1593,11 @@ Type \\[describe-distribution] for information on getting the latest version.")) (goto-line line)) (setq line 0)))))))) ;; If 3 or more files visited, and not all visible, - ;; show user what they all are. + ;; show user what they all are. But leave the last one current. (and (> file-count 2) (not noninteractive) (or (get-buffer-window first-file-buffer) - (progn (other-window 1) - (buffer-menu))))))) + (list-buffers)))))) (defun command-line-normalize-file-name (file)